//
//  LSAddCollectionCell+ConfigureForBook.m
//  LibraryStorm
//
//  Created by Enel@Lightning on 4/9/14.
//  Copyright (c) 2014 3ATeam. All rights reserved.
//

#import "LSAddCollectionCell+ConfigureForBook.h"
#import "BookDetail.h"
#import "UIImageView+AFNetworking.h"

@implementation LSAddCollectionCell (ConfigureForBook)

- (void)configureForBook:(BookDetail *)book
{
    [self.bookCoverImageView setImageWithURL:[NSURL URLWithString:book.coverImage] placeholderImage:BOOK_COVER_IMAGE];
    self.titleLabel.text = book.name;
    self.authorLabel.text = book.author;
}
@end
